<form name="form" method="post" action="{$modal.href}" class="nyroModal">
{t assignTo=title}Inbox settings{/t}
{include file="$MODULES_DIR/backoffice/templates/block/modal/ModalTitle.html" title=$title}
<div id="modalContent">
    <table class="listTable">
        <tr>
            <th>{t}Field{/t}</th><th>{t}Visibility{/t}</th>
        </tr>
        {foreach from=$settings item=setting}
        <tr>
            <td>{$setting.label}</td>
            <td>{if $setting.visible == true}<input type="checkbox" name="form[{$setting.name}]" checked="checked" />{else}<input type="checkbox" name="form[{$setting.name}]" />{/if}</td>
        </tr>
        {/foreach}
    </table>
</div>
{include file="$MODULES_DIR/backoffice/templates/block/modal/ModalFooter.html"}
</form>